import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listMembers(query) {
  return request({
    url: '/weixin/members/list',
    method: 'get',
    params: query
  })
}

// 查询【请填写功能名称】详细
export function getMembers(uId) {
  return request({
    url: '/weixin/members/' + uId,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addMembers(data) {
  return request({
    url: '/weixin/members',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateMembers(data) {
  return request({
    url: '/weixin/members',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export function delMembers(uId,weinxinId) {
  return request({
    url: '/weixin/members/del?uId=' + uId + "&weinxinId=" + weinxinId,
    method: 'delete'
  })
}

// 导出【请填写功能名称】
export function exportMembers(query) {
  return request({
    url: '/weixin/members/export',
    method: 'get',
    params: query
  })
}